/********************************************************************************
 * Copyright (c) 2019 Contributors to the Eclipse Foundation
 *
 * See the NOTICE file(s) distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0
 *
 * SPDX-License-Identifier: EPL-2.0 4
 ********************************************************************************/
.opcua-profile-selection {
  margin-top: 4em;
}

.ui-tree {
  width: 18em;
}

.ui-tree .ui-treenode-selectable.ui-treenode-content {
  cursor: pointer;
}

.ui-tree .ui-tree-container {
  height: 100%;
  margin: 0;
  overflow: auto;
  padding: .25em;
  white-space: nowrap;
}

.ui-tree .ui-treenode-children {
  margin: 0;
  padding: 0 0 0 1em;
}

.ui-tree .ui-treenode {
  background-attachment: scroll;
  background-color: transparent;
  background-image: none;
  background-position: 0 0;
  background-repeat: repeat-y;
  list-style: none outside none;
  margin: 0;
  padding: .125em 0 0 0;
}

.ui-tree .ui-treenode-droppoint {
  height: 4px;
  list-style-type: none;
}

.ui-tree .ui-treenode-droppoint-active {
  border: 0 none;
}

.ui-tree .ui-tree-toggler {
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
}

.ui-tree .ui-treenode-icon {
  display: inline-block;
  vertical-align: middle;
}

.ui-tree .ui-treenode-label {
  display: inline-block;
  padding: 0 .25em;
  vertical-align: middle;
}

.ui-tree .ui-treenode-label.ui-state-hover,
.ui-tree .ui-treenode-label.ui-state-highlight {
  font-weight: normal;
  border: 0 none;
}

.ui-tree .ui-treenode.ui-treenode-leaf > .ui-treenode-content > .ui-tree-toggler {
  visibility: hidden;
}

.ui-tree .ui-chkbox-box {
  cursor: pointer;
}

.ui-tree .ui-chkbox {
  display: inline-block;
  vertical-align: middle;
}

.ui-tree .ui-chkbox .ui-chkbox-icon {
  margin-left: 1px;
}

/** Fluid **/
.ui-fluid .ui-tree {
  width: 100%;
}

/** Horizontal Tree **/
.ui-tree-horizontal {
  width:auto;
  padding: .5em 0;
  overflow:auto;
}

.ui-tree.ui-tree-horizontal table,
.ui-tree.ui-tree-horizontal tr,
.ui-tree.ui-tree-horizontal td {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.ui-tree.ui-tree-horizontal .ui-tree-toggler {
  vertical-align: middle;
  margin: 0;
}

.ui-tree-horizontal .ui-treenode-content {
  font-weight: normal;
  padding: 0.4em 1em 0.4em 0.2em;
}

.ui-tree.ui-tree-horizontal .ui-tree-node-label {
  margin: 0;
}

.ui-tree-horizontal .ui-treenode-parent .ui-treenode-content {
  font-weight: normal;
  white-space: nowrap;
}

.ui-tree.ui-tree-horizontal .ui-treenode {
  padding: .25em 2.5em;
}

.ui-tree.ui-tree-horizontal .ui-treenode.ui-treenode-leaf,
.ui-tree.ui-tree-horizontal .ui-treenode.ui-treenode-collapsed {
  padding-right: 0;
}

.ui-tree.ui-tree-horizontal .ui-treenode-children {
  padding: 0;
  margin: 0;
}

.ui-tree.ui-tree-horizontal .ui-treenode-connector {
  width: 1px;
}

.ui-tree.ui-tree-horizontal .ui-treenode-connector-table {
  height: 100%;
  width: 1px;
}

.ui-tree.ui-tree-horizontal .ui-treenode-connector-line {
  width: 1px;
}

.ui-tree.ui-tree-horizontal table {
  height: 0;
}

.ui-tree.ui-tree-horizontal .ui-chkbox {
  vertical-align: bottom;
  margin-right: .25em;
}